package com.lcq.springbootcreate.qureyStudent;


import org.springframework.beans.factory.annotation.Autowired;

@org.springframework.stereotype.Service
public class Service {

    @Autowired
    studentMapper studentMapper;

    public Student findstudent(Integer id){
        return studentMapper.findById(id);
    }
}
